home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / virus / fp_223a.zip / COMMAND.DOC < prev    next >
Text File  |  1996-05-20  |  5KB  |  161 lines

  1.                            Command line mode
  2.  
  3.                         The command-line options
  4.  
  5. F-PROT.EXE is usually run without any parameters and will then enter
  6. interactive mode.  It is also possible to run it in command-line mode,
  7. either by specifying a drive, file or directory to scan, or by using the
  8. /COMMAND option.
  9.  
  10. Syntax for command-line mode:  F-PROT [drive, file or directory] [options]
  11.  
  12. The available command-line options are
  13.  
  14. /640
  15. On certain old machines, scanning non-existing memory between 640K and 1M
  16. may cause a system crash.  This switch instructs F-PROT to scan only 640K.
  17.  
  18. /ALL
  19. Specifies that all files should be searched, not just normal "executable"
  20. files.  This switch should never be used with /ANALYSE, but only if a
  21. virus has already been found, and you are just making sure it is not
  22. hiding in some obscure overlay file.
  23.  
  24. /ANALYSE
  25. Performs a heuristic analysis after the "Secure" scan.  This approach may
  26. cause false positives, and should be used with care.  See the file
  27. ANALYSE.DOC for further information.
  28.  
  29. /APPEND
  30. Used with /REPORT. Append the report to an existing file.
  31.  
  32. /AUTO
  33. May be specified with /DELETE or /DISINF so F-PROT will not request
  34. permission before deleting or disinfecting.  The default if only /DELETE
  35. or /DISINF are given is to ask if the file should be disinfected (or
  36. deleted).
  37.  
  38. /BOOT (default) /NOBOOT
  39. Scan/Don't scan boot sectors.
  40.  
  41. /COMMAND
  42. Force command-line mode.
  43.  
  44. /DELETE
  45. Delete all infected files, instead of just listing them.
  46.  
  47. /DISINF
  48. Disinfect whenever possible - deletes first-generation samples and files
  49. destroyed by overwriting viruses.  It will never delete a file which can
  50. be disinfected.
  51.  
  52. /DOC
  53. Scan Word documents.
  54.  
  55. /EXT=
  56. Specify which filename extensions to scan by default, maximum of 10,
  57. separated by "."  Example: /EXT=COM.EXE.SYS.DLL.OV?
  58.  
  59. /FILE (default) /NOFILE
  60. Scan/Don't scan files.  If /NOFILE is used, it implies /NOPACKED and
  61. /NOUSER as well.
  62.  
  63. /GURU
  64. Provides additional information while scanning.
  65.  
  66. /HARD
  67. Scans the MBR and all accessible partitions on any hard disks that are
  68. found.
  69.  
  70. /HELP or /?
  71. Display a list of available options.
  72.  
  73. /INTER
  74. Force interactive mode.
  75.  
  76. /LIST
  77. Produce a report of all files checked, not just those which are infected.
  78.  
  79. /MONO
  80. Use monochrome on color displays.
  81.  
  82. /MULTI
  83. Scan multiple diskettes.
  84.  
  85. /NET
  86. Scans any network "drives" found.
  87.  
  88. /NOBREAK
  89. Disables ESC and ^C during scanning
  90.  
  91. /NODOC
  92. Do not scan Word documents.
  93.  
  94. /NOMEM
  95. Skip the memory scan.
  96.  
  97. /NOSUB
  98. Do not scan subdirectories.
  99.  
  100. /NOWRAP
  101. Do not wrap text in the report.
  102.  
  103. /OLD
  104. Do not display the "This version of the program is rather old" message.
  105.  
  106. /ONLY 
  107. When used with /ANALYSE, it will make F-PROT perform ONLY a heuristic
  108. scan.
  109.  
  110. /PACKED (default) /NOPACKED
  111. Search/Don't search inside packed executables (DIET, PKLITE, LZEXE).  This
  112. does not mean that F-PROT will scan inside archives (ZIP or ARJ).
  113.  
  114. /PAGE
  115. Pause after each page.
  116.  
  117. /PARANOID
  118. Makes the scanner totally paranoid.  Increases the chances of picking
  119. up new viruses, but will significantly increase the risk of false
  120. positives.  Only recommended for use by experienced, technical-minded
  121. users, and please keep in mind that we are not interested in receiving
  122. samples of possible false alarms that are only produced when this switch
  123. is used.
  124.  
  125. /RENAME
  126. Rename infected files to *.VOM, *.VXE or *.VVV.
  127.  
  128. /REPORT=file
  129. Sends the output to a file, in addition to displaying it on the screen.
  130.  
  131. /SILENT
  132. Generates no screen output at all - useful if you want to run the program
  133. from a batch file, and only check the return code.
  134.  
  135. /USER /NOUSER (default)
  136. Search/Don't search for user-defined search strings.  This option should
  137. only be used if absolutely neccessary, as it may result in a considerable
  138. speed decrease.
  139.  
  140.                           Return status
  141.  
  142. The program uses the following exit codes, which can be checked with the
  143. ERRORLEVEL command from a BAT file.
  144.  
  145.     0 - Normal exit - nothing found
  146.     1 - Abnormal termination - unrecoverable error.  This can mean any of
  147.     the following:
  148.         DOS version 1.x was used (F-PROT requires DOS 2.0 or higher)
  149.         The report file (specified with /REPORT=) could not be created.
  150.         ENGLISH.TX0 or SIGN.DEF corrupted or not present
  151.         Program was run from a diskette, and the diskette then changed.
  152.     2 - Selftest failed - program has been modified.
  153.     3 - A Boot/File virus infection found.
  154.     4 - Virus search string found in memory.
  155.     5 - Program terminated with ^C or ESC.
  156.     6 - At least one virus was removed.  This code is only meaningful if
  157.         the program is used to scan just a single file.
  158.     7 - Insufficient memory to run the program.
  159.     8 - At least one suspicious file was found, but no infections.
  160.  
  161.